package com.example.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.entity.domain.Hierarchy;
import com.example.entity.dto.BaseDTO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author: zhuxiaokang
 * @CreateTime: 2025-05-07
 * @Description: 分级
 * @Version: 1.0
 */

@Mapper
public interface HierarchicDao extends BaseMapper<Hierarchy> {

    /**
     * 分页查询
     * @param page
     * @param baseDTO
     * @return
     */
    Page<Hierarchy> pageList(@Param("page") Page<Hierarchy> page,@Param("baseDTO") BaseDTO baseDTO);
}
